package com.tito.common.api;

import com.tito.common.api.constant.StatusCode;

public class BaseResult
{
    // 成功标识
    private Boolean isOk;
    private String msg = "";
    //异常信息
    private String cause = "";
    private StatusCode statusCode;

    public Boolean getOk()
    {
        return isOk;
    }

    public void setOk(Boolean ok)
    {
        isOk = ok;
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public String getCause()
    {
        return cause;
    }

    public void setCause(String cause)
    {
        this.cause = cause;
    }

    public StatusCode getStatusCode()
    {
        return statusCode;
    }

    public void setStatusCode(StatusCode statusCode)
    {
        this.statusCode = statusCode;
    }
}
